What is 2 packet?

  1. TCP Packet: TCP or Transmission Control Protocol packet is a type of packet that is used in the internet protocol suite to provide reliable, ordered, and error-checked delivery of data between applications running on hosts. It is a connection-oriented protocol that divides data into segments, adds a header with control information to each segment, and sends it over the network. TCP packets are acknowledged by the receiver, allowing the sender to retransmit any unacknowledged data.

  2. UDP Packet: UDP or User Datagram Protocol packet is a type of packet that is also used in the internet protocol suite to provide best-effort delivery of data between applications running on hosts. Unlike TCP, it is a connectionless protocol that does not establish a dedicated end-to-end connection before sending data. UDP packets consist of a header and data payload, and they are transmitted without any error checking or acknowledgement from the receiver. Because of its low overhead and fast delivery, UDP is commonly used for streaming media, online gaming, and other real-time applications.